package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityExternalGoodsCategory;
import com.ecoolex.ying.space.entity.EstateProjectActivityExternalGoodsCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityExternalGoodsCategoryMapper {
    long countByExample(EstateProjectActivityExternalGoodsCategoryExample example);

    int deleteByExample(EstateProjectActivityExternalGoodsCategoryExample example);

    int deleteByPrimaryKey(Integer externalGoodsCategoryId);

    int insert(EstateProjectActivityExternalGoodsCategory record);

    int insertSelective(@Param("record") EstateProjectActivityExternalGoodsCategory record, @Param("selective") EstateProjectActivityExternalGoodsCategory.Column ... selective);

    EstateProjectActivityExternalGoodsCategory selectOneByExample(EstateProjectActivityExternalGoodsCategoryExample example);

    List<EstateProjectActivityExternalGoodsCategory> selectByExample(EstateProjectActivityExternalGoodsCategoryExample example);

    EstateProjectActivityExternalGoodsCategory selectByPrimaryKey(Integer externalGoodsCategoryId);

    EstateProjectActivityExternalGoodsCategory selectByPrimaryKeyWithLogicalDelete(@Param("externalGoodsCategoryId") Integer externalGoodsCategoryId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityExternalGoodsCategory record, @Param("example") EstateProjectActivityExternalGoodsCategoryExample example, @Param("selective") EstateProjectActivityExternalGoodsCategory.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityExternalGoodsCategory record, @Param("example") EstateProjectActivityExternalGoodsCategoryExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityExternalGoodsCategory record, @Param("selective") EstateProjectActivityExternalGoodsCategory.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityExternalGoodsCategory record);

    int batchInsert(@Param("list") List<EstateProjectActivityExternalGoodsCategory> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityExternalGoodsCategory> list, @Param("selective") EstateProjectActivityExternalGoodsCategory.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityExternalGoodsCategoryExample example);

    int logicalDeleteByPrimaryKey(Integer externalGoodsCategoryId);
}